'/
' MOTEP - Massive Online Text Environment Project
' --------------------------------------------------------------------------------
' Shared Code
' 
' ADL_h.bmx
'/


const ADL_VERSION:string = "10"
const ADL_AUTHOR:string = "Anton Berlin"
const ADL_YEAR:string = "2009"

const DEPTH_NULL:int = 0
const DEPTH_TABLE:int = 1
const DEPTH_TABLE_OPENING_QUOTE:int = 2
const DEPTH_TABLE_CLOSING_QUOTE:int = 3
const DEPTH_TABLE_OPENING_BRACKET:int = 4
const DEPTH_FIELD:int = 5
const DEPTH_FIELD_OPENING_QUOTE:int = 6
const DEPTH_FIELD_CLOSING_QUOTE:int = 7
const DEPTH_FIELD_OPENING_BRACKET:int = 8
const DEPTH_ENTRY_NAME_OPENING_QUOTE:int = 9
const DEPTH_ENTRY_NAME_CLOSING_QUOTE:int = 10
const DEPTH_ENTRY_TYPE:int = 11
const DEPTH_ENTRY_EXPRESSION:int = 12
const DEPTH_ENTRY_VALUE_OPENING_QUOTE:int = 13
const DEPTH_ENTRY_VALUE_CLOSING_QUOTE:int = 14
const DEPTH_ENTRY_CONTINUING_STRING_VALUE:int = 15
const DEPTH_ENTRY_CONTINUING_STRING_VALUE_OPENING_QUOTE:int = 16

rem
' Print to output.
function write(str:string)
	write(str)
end function
end rem
